﻿package component.tree.dao;

import java.util.List;

import component.tree.entity.Entity;

public interface IComponentDAO {
	//通过sql查询数据,返回List<Object[]>
	public List findDataBySql(String sql);
		
	//通过sql查询数据,返回List<Entity>
	public List findDataBySql(String sql,Entity entity);
}
